<?php

namespace Yolo\Service\Traits;

use Yolo\Service\Singleton;

/**
 * SingletonTrait
 * @author lushaoming<lushaoming6@gmail.com>
 * @date 2024/2/20
 */
trait SingletonTrait
{
    public static function inst(): static
    {
        return Singleton::make(self::class);
    }
}
